import {Component} from "@angular/core";
import {HeaderComponent} from "./header.component";
import {BodyComponent} from "./body.component";
import {FooterComponent} from "./footer.component";
import {ProductService} from "./service/product.service";
import {Product} from "./entity/product";

@Component({
    selector: 'my-app',
    template: `
            <my-header></my-header>
            <br/>
            <my-body></my-body>
            <br/>
            <my-footer></my-footer>
                `,
    
    directives:[HeaderComponent, BodyComponent, FooterComponent]

})
export class AppComponent {

}
